<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
<link rel="stylesheet" type="text/css" href="/css/modules/form_html_tpl_static_ajax_metallic/form.css" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center">
      <!-- Form login_form START -->
      <div id="login_form_form_div">
        <!-- *** CUT top -->
        <table width="600" border="0" cellspacing="0" cellpadding="0" class="form" id="login_form_top_table">
          <tr>
            <td align="left">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>
                    <div class="form_title">Login</div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <!-- If you don't want notes erase this START -->
          <tr>
            <td>
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form_note">
                <!-- Repeat this fo additional notes START -->
                <tr>
                  <td valign="top" align="left">
                    <table width="100%" border="0" cellspacing="0" cellpadding="4" class="form_note_title">
                      <tr>
                        <td><img src="/img/modules/form_html_tpl_static_ajax_metallic/exclamation_mark.png" border="0" alt="icon exclamation mark" width="16" height="16" /></td>
                        <td width="100%" align="left">Note:</td>
                      </tr>
                    </table>
                  </td>
                  <td align="left" width="99%">
                    <div class="form_note_text">Fields marked with &quot;*&quot; are mandatory.</div>
                  </td>
                </tr>
                <!-- Repeat this fo additional notes END-->
              </table>
            </td>
          </tr>
          <!-- If you don't want notes erase this END -->
          <tr>
            <td>
              <div id="login_form">
                <form action="/login.php" method="post" name="login_form_form" enctype="application/x-www-form-urlencoded" class="form">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="left">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form_row">
                          <tr>
                            <td class="form_even_row">
                              <!-- form_field_text login_form_username START-->
                              <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                <tr>
                                  <td width="180">
                                    <div align="right">Username*:</div>
                                  </td>
                                  <td width="1%">
                                    <input class="form" name="login_form_username" type="text" value="{$login_form_username_val}" maxlength="50" size="40" id="login_form_username"/>
                                  </td>
                                  <td>&nbsp;</td>
                                </tr>
                                {if $login_form_username_has_error}
                                <!-- Potential errors START -->
                                {if $login_form_username_error_mandatory_missing}
                                <!-- mandatory_missing START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Field is mandatory.</div>
                                  </td>
                                </tr>
                                <!-- mandatory_missing END -->
                                {/if} {if $login_form_username_error_max_length_exceeded}
                                <!-- max_length_exceeded START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Allowed maximum of 50 characters exceeded.</div>
                                  </td>
                                </tr>
                                <!-- max_length_exceeded END -->
                                {/if}
                                <!-- Potential errors END -->
                                {/if}
                              </table>
                              <!-- form_field_text login_form_username END-->
                            </td>
                          </tr>
                          <tr>
                            <td class="form_odd_row">
                              <!-- form_field_text login_form_password START-->
                              <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                <tr>
                                  <td width="180">
                                    <div align="right">Password*:</div>
                                  </td>
                                  <td width="1%">
                                    <input class="form" name="login_form_password" type="password" value="{$login_form_password_val}" maxlength="50" size="40" id="login_form_password" />
                                  </td>
                                  <td>&nbsp;</td>
                                </tr>
                                {if $login_form_password_has_error}
                                <!-- Potential errors START -->
                                {if $login_form_password_error_mandatory_missing}
                                <!-- mandatory_missing START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Field is mandatory.</div>
                                  </td>
                                </tr>
                                <!-- mandatory_missing END -->
                                {/if} {if $login_form_password_error_max_length_exceeded}
                                <!-- max_length_exceeded START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Allowed maximum of 50 characters exceeded.</div>
                                  </td>
                                </tr>
                                <!-- max_length_exceeded END -->
                                {/if} {if $login_form_password_error_password_asterisk_used}
                                <!-- password_asterisk_used START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Asterisk "*" simbol is not allowed.</div>
                                  </td>
                                </tr>
                                <!-- password_asterisk_used END -->
                                {/if} {if $login_form_password_error_invalid_login}
                                <!-- invalid_login START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Invalid login. Wrong username or password.</div>
                                  </td>
                                </tr>
                                <!-- invalid_login END -->
                                {/if} {if $login_form_password_error_account_not_active}
                                <!-- account_not_active START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Your account is not activated. You have to click on the link in the email that we sent you. If you lost that email you can use <a href="user_resend_act.php">Resend activation email</a> page to request new submission of the email with activation link. You will not be allowed to login until you activate your account.</div>
                                  </td>
                                </tr>
                                <!-- account_not_active END -->
                                {/if}
                                <!-- Potential errors END -->
                                {/if}
                              </table>
                              <!-- form_field_text login_form_password END-->
                            </td>
                          </tr>
                          <tr>
                            <td class="form_even_row">
                              <!-- form_field_checkboxlogin_form_remember START-->
                              <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                <tr>
                                  <td width="180">
                                    <div align="right">Remember me:</div>
                                  </td>
                                  <td width="1%">
                                    <input class="form" name="login_form_remember" type="checkbox" value="{$login_form_remember_val}"{if $login_form_remember_checked} checked="checked"{/if} id="login_form_remember" />
                                  </td>
                                  <td>&nbsp;</td>
                                </tr>
                                {if $login_form_remember_has_error}
                                <!-- Potential errors START -->
                                {if $login_form_remember_error_mandatory_missing}
                                <!-- mandatory_missing START -->
                                <tr>
                                  <td></td>
                                  <td colspan="2">
                                    <div class="form_error_message">Error: Field is mandatory.</div>
                                  </td>
                                </tr>
                                <!-- mandatory_missing END -->
                                {/if}
                                <!-- Potential errors END -->
                                {/if}
                              </table>
                              <!-- form_field_checkbox login_form_remember END-->
                            </td>
                          </tr>
                          <tr>
                            <td class="form_odd_row">
                              <!-- form_field_checkboxlogin_form_remember START-->
                              <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                <tr>
                                  <td width="180">&nbsp;
                                    
                                  </td>
                                  <td>
                                    Forgot your password? <a href="modules/user_auth_basic/user_pwd_reset.php">Click here to reset it and get new one</a>.
                                  </td>
                                </tr>
                              </table>
                              <!-- form_field_checkbox login_form_remember END-->
                            </td>
                          </tr>                          
                        </table>
                        <input type="hidden" name="login_form_return_to" value="{$login_form_return_to_val}" id="login_form_return_to"/>
                        <input type="hidden" name="login_form_return_to_params" value="{$login_form_return_to_params_val}" id="login_form_return_to_params"/>
                      </td>
                    </tr>
                    <tr>
                      <td align="left">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="submit_row">
                          <tr>
                            <td width="180">&nbsp;</td>
                            <td width="100" align="left">
                              <input name="login_form_submit" type="submit" value="Login" class="form_submit" />
                            </td>
                            <td width="50">&nbsp;</td>
                            <td>&nbsp; </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </form>
              </div>
            </td>
          </tr>
        </table>
        <!-- *** CUT bottom -->
      </div>
      <!-- Form login_form END -->
    </td>
  </tr>
</table>
</body>
</html>
